[platform/wolfssl] Add wolfCrypt crypto platform support#54
Conversation
Add platform abstraction layer implementation using wolfSSL/wolfCrypt for cryptographic operations including: - AES-ECB, AES-CBC, AES-CMAC encryption/decryption - SHA-256/SHA-384 hash computation - ECC key generation, signing, verification (NIST P-256/P-384, Brainpool) - ECDH key exchange (including Curve25519) - HMAC-SHA256 HKDF extract/expand (RFC 5869) - NIST SP 800-38F AES Key Wrap This enables STSELib integration on platforms using wolfSSL as the cryptographic provider, providing an alternative to STM32 CMOX. New files: - examples/wolfssl/stse_platform_crypto_wolfssl.c: Complete implementation - examples/wolfssl/user_settings.h: Sample wolfSSL configuration - examples/wolfssl/README.md: Usage instructions - doc/.../stse_platform_wolfssl.c.md: Porting guide documentation Tested on STSAFE-A120 hardware with Raspberry Pi 5.
|
Just a question: Is there any plan to introduce a platform abstraction layer for Mbed TLS as well? Additionally, is there any intention to add support for the PSA Cryptographic Interface? |
Hello @dgarske , thank you very much for your important contribution . I have finalized the review of this PR. No modification needed . For us , Enabling WolfCrypt support is an excellent complement to our solution . I have added some comment during the review process . Please do not hesitate to come back to me if you have any remarks . |
Add platform abstraction layer implementation using wolfSSL/wolfCrypt for cryptographic operations including:
This enables STSELib integration on platforms using wolfSSL as the cryptographic provider, providing an alternative to STM32 CMOX.
New files:
Tested on STSAFE-A120 hardware with Raspberry Pi 5.
See these PR's adding upstream support and examples: